home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 16 / nyword22.zip / NYWHELP.ZIP / NYWHELP.12 < prev    next >
Text File  |  1986-09-29  |  2KB  |  45 lines

  1.                             MACRO COMMANDS
  2.  
  3. NYWord  allows you to type in keystroke macros and textual macros, and
  4. to save them along with your document. You are also able to read in  a
  5. library of pre-defined macros. 
  6.  
  7. <CAPTURE> (the F4 key) captures the  keystrokes  that  you  type,  and
  8. keeps them in a buffer. Pressing <CAPTURE> again will stop the capture
  9. operation.
  10. <REPLAY>  (the  F3  key)  will  replay  the  captured keystrokes. This
  11. command can also be preceded by an optional count.
  12.  
  13. <USE MACRO> (the ALT F3 key) executes a macro that you have previously
  14. defined.  You  are  prompted  for the name of the macro type it in, or
  15. type a '?' to view all previously defined macros. This command may  be
  16. preceded  by  an optional count (ie <ESC> 3 <USE MACRO> a will execute
  17. macro 'a' three times.) 
  18.  
  19. <DEFINE MACRO> (the ALT F4 key) allows to user to create a macro. When
  20. prompted for the name of the macro, the user has several options : 
  21.  '?' views all currently defined macros
  22.  'cap'  initiates  capture mode. Any keystrokes you type will not only
  23. affect the text, but will be 'captured' in a buffer as  well.  To  end
  24. the capture process, press the <DEFINE MACRO> key again.
  25.   'read'  allows you to read in a macro file. You are prompted for the
  26. name of the macro file - type it in. The macros in that file will  now
  27. be attached to your file.
  28.   Any  other  name will cause a 'regular' macro to be defined. You are
  29. faced with a blank screen. Just type the macro  as  you  would  normal
  30. text. Then type <CTRL> D to exit the definition.
  31.  
  32.     Macros  which  are  read  in, and 'regular' macros are saved along
  33. with your document. When you edit the document again, the  macros  you
  34. defined will be left intact, and you can use them at any time.
  35.  
  36.     The format of a macro file is :
  37.   macro name
  38.   lines containing the definition
  39.   .  (a period in column 1 followed by a <RETURN>)
  40.   <0 or more blank lines>
  41.   macro name 2
  42.   macro definition 2
  43.   .
  44.   (etc)
  45.